package cn.bdqn.xtxg.oof;

public abstract class epetshop {
	private String name;
	private int health;
	private int love;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getHealth() {
		return health;
	}
	public void setHealth(int health) {
		this.health = health;
	}
	public int getLove() {
		return love;
	}
	public void setLove(int love) {
		this.love = love;
	}
	public void print() {
		System.out.println("宠物的自白:");
		System.out.println("我的名字是:"+this.name+",我的健康值是:"+this.health+",我跟主人的亲密度是:"+this.love);
	}
	public abstract void eat();
}
